Skip to content

Implement registry loading for tar.zst files - #100

Merged
cjdoris merged 3 commits into
JuliaPy:mainfrom
fjwillemsen:patch-2
Oct 24, 2026
Merged

cjdoris merged 3 commits into
JuliaPy:mainfrom
fjwillemsen:patch-2

Conversation

@fjwillemsen

Copy link
Copy Markdown
Contributor

Adds support for .tar.zst files in registry loading and handles ReadError exceptions gracefully.
As of Julia 1.13, registries default to .tar.zst instead of .tar.gz. JuliaPkg would crash in these instances as only .tar.gz support and direct loading are implemented.
This pull request adds .tar.zst support, which has been added to tarfile since 3.14, and in cases where it can not decompress will gracefully attempt to either try the next registry or raise an error.

fjwillemsen and others added 3 commits September 21, 2026 15:46
Add support for '.tar.zst' files in registry loading and handle ReadError exceptions gracefully.
@cjdoris
cjdoris merged commit a6d9d51 into JuliaPy:main Oct 24, 2026
9 checks passed
@cjdoris

cjdoris commented Oct 24, 2026

Copy link
Copy Markdown
Member

Thanks for this! I reverted the behaviour to always error when a registry cannot be loaded, but I also added support for reading .tar.zst registries on older versions of python, via an optional extra, so you can use this functionality on any version of python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants